<div ng-controller="PanelDemoApiCtrl as pc">
    <p>
        <button class="wi-btn" ng-click="myFun()">点我</button>，请在控制台中查看输出
    </p>
    <wi-panel heading="PANEL TEST ONE" wid="mypanel">
        <p>$scope.mypanel.options()：返回panel相关信息</p>
        <p>$scope.mypanel.element()：返回panel对应jqlite元素</p>
        <p>$scope.mypanel.toggle()：切换panel的折叠状态</p>
    </wi-panel>
</div>